Merged
Conversation
we have different methods of object comparison here and there, some work on tuples, other on hashes, other on different structures. this PR streamlines this. these changes might cause breaking changes for downstream users. --------- Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
bump to `py-serializable` v2.0.0: <https://github.com/madpah/serializable/releases/tag/v2.0.0> This is considered a breaking change, as downstream users might rely on the same package's previous version. Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
For some this is considered a bug-fix, for others this is a feature - it is a breaking change anyway since it modifies the order of things. ---- TODO: - [x] **every** symbol that has a property `bom-ref` MUST utilize it for dunder methods `hash`,`eq`,`gt`,`lt`,... - [x] add new test cases from #753 - [x] add new test cases from #540 - [x] add new test cases from #677 - [x] create new tests snapshots (if applicable) ---- > [!important] > depends on #755 supersedes #678 closes #678 fixes #753 fixes #540 fixes #677 --------- Signed-off-by: wkoot <3715211+wkoot@users.noreply.github.com> Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> Co-authored-by: wkoot <3715211+wkoot@users.noreply.github.com>
Automatically generated by python-semantic-release Signed-off-by: semantic-release <semantic-release@bot.local>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
closes #781 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Automatically generated by python-semantic-release Signed-off-by: semantic-release <semantic-release@bot.local>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Member
Author
|
planend release is early next week |
fixes #790 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
see milestone: https://github.com/CycloneDX/cyclonedx-python-lib/milestone/8
BREAKING Changes
model.vulnerability.VulnerabilityReference's properties are all mandatory (#790 via #792)spdx.is_compund_expression->spdx.is_expression(#779)BomRefaffects comparison/hashing (#754 & #780)This is only a breaking change if you relied on ordering of elements.
This is only a breaking change if you relied on ordering of elements.
py-serializable >=2 <3, was>=1.1.1 <2(#775)This is only a breaking change if you have other packages depend on that specific version.
as of #754 & #780
bom-refpart of equality checks #753as of #779
as of #792